<div id="steps" class="form complex">

<?php
echo form_open($post_action);
?>
        <fieldset class="step">
                <p>
                        <label>Nomor akun</label>
                        <input id="kode_akun" name="kode_akun" type="text" value="<? echo set_value('kode_akun');?>" tabindex="1" />
                </p>
                <?php echo form_error('kode_akun'); ?>

                <p>
                        <label>Nama Akun</label>
                        <input id="nama" name="nama" type="text" value="<? echo set_value('nama');?>" size="50" tabindex="2" />
                </p>
                <?php echo form_error('nama'); ?>

                <p>
                    <? $induk = set_value('akun_induk');?>
                        <label class="description">Akun Induk</label>
                        <select id="akun_induk" name="akun_induk" tabindex="3" >
                                <option value="0" selected="selected">-- Pilih Akun Induk --</option>
                                <? foreach ($option_induk as $key_nomer=>$value_nomer) {?>
                                <option value="<? echo $key_nomer; ?>"><? echo $value_nomer;?></option>
                                <? }?>
                        </select>
                </p>
                <?php echo form_error('akun_induk'); ?>

                <p>
                        <label>Status</label>
                        <select id="status" name="status" tabindex="4">
                                <option value="1" <? if (set_value('status') == '1' || set_value('status') == '' ) { ?> selected="selected" <?}?>>Aktif</option>
                                <option value="0" <? if (set_value('status') == '0') {?> selected="selected" <?}?>>Tidak Aktif</option>
                        </select>
                </p>
                <?php echo form_error('status'); ?>

                <p class="submit">
                        <button id="registerButton" type="submit">Simpan</button>&nbsp;
                        <button id="registerButton" type="reset">Reset</button>&nbsp;
                        <button id="registerButton" type="button" onclick="window.location.href='<?echo site_url("keuangan/akun");?>'">Kembali</button>
                </p >

        </fieldset>
<?php
echo form_close();
?>
</div>